<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="../../../yl/index.css" />
    <link rel="stylesheet" href="../../../style/index.css" />
    <!-- 布局样式 -->
    <link rel="stylesheet" href="../../../yl/style.css" />
    <link rel="stylesheet" href="../../../yl/mobile.css" />
    <link rel="stylesheet" href="../../../yl/easyui.css" />
    <link rel="stylesheet" href="../../../yl/icon.css" />
    <title>巡逻任务信息维护</title>
</head>

<body>
    <div id="app" v-cloak>
<div class="title">
            <div>
            <!-- 任务名称：<el-input v-model="page.value1" style="width: 200px; margin:0 10px;"
                    placeholder="请输入任务名称"></el-input>
                <el-button icon="Search" style="margin: 0; margin-right: 10px;" @click="check">查询</el-button>
                <el-button icon="Refresh" style="margin: 0; margin-right: 10px;" @click="reset">重置</el-button> -->
                <el-button type="primary" icon="CirclePlus" style="margin: 0; margin-right: 10px;" @click="PlanAdd"
                    plain round>添加一条计划</el-button>
                <!-- <el-button type="warning" icon="Download" style="margin: 0; margin-right: 10px;" @click="personalAdd"
                    plain round>批量导入</el-button>
                <el-button type="success" icon="Upload" style="margin: 0; margin-right: 10px;" @click="personalAdd"
                    plain round>批量导出</el-button>
                <el-button type="danger" icon="Delete" style="margin: 0; margin-right: 10px;" @click="personalAdd" plain
                    round>批量删除</el-button> -->
            </div>
        </div>
        <div class="body">
            <div class="right">
                <el-table id="table" height="450" v-loading="loading" ref="multipleTable" tooltip-effect="dark"
                :data-options="JSON.stringify({ 'TableName': 'patrol_taskPlan','primary_key':'taskPlan_SerialNumber'})" 
                    :data="tabledata" @selection-change="handleSelectionChange">
                    <el-table-column prop="taskPlan_SerialNumber" label="计划ID" align="center">
                    </el-table-column>
                    <el-table-column prop="PlanDate" label="日期" align="center">
                    </el-table-column>
                    <el-table-column prop="Task_SerialNumber" label="巡逻任务编码" align="center">
                    </el-table-column>
                    <el-table-column prop="Task_Area" label="巡逻区域" align="center">
                    </el-table-column>
                    <el-table-column prop="team_SerialNumber" label="巡逻队编码" align="center">
                    </el-table-column>
                    <el-table-column prop="team_name" label="巡逻队名称" align="center">
                    </el-table-column>
                    <el-table-column prop="Contact_Phone" label="联系电话" align="center">
                    </el-table-column>
                    <el-table-column prop="Membered" label="下发标志" align="center">
                    </el-table-column>
                    <el-table-column prop="CurrentStatus" label="当前任务状态" align="center">
                    </el-table-column>
                    <el-table-column prop="ExecStartTime" label="开始巡逻时间" align="center">
                    </el-table-column>
                    <el-table-column prop="ExecEndTime" label="结束巡逻时间" align="center">
                    </el-table-column>
                    <el-table-column label="操作" fixed="right" width="150">
                        <template #default="scope">
                            <!-- <el-button type="primary" size="small" @click="handleEdit(scope.row)">
                                编辑
                            </el-button> -->
                            <el-button type="danger" size="small" @click="handleDelete(scope.row)">
                                删除
                            </el-button>
                            <el-button type="success" size="small" @click="handleMember(scope.row)">
                                下发
                            </el-button>
                        </template>
                    </el-table-column>
                </el-table>
                <el-pagination style="margin-top: 1%;" :current-page="page.PaginationNumber" :page-size="page.RowAmount"
                    :page-sizes="[10, 100, 200, 300, 400]" layout="total, sizes, prev, pager, next, jumper"
                    :total="Total" @size-change="handleSizeChange" @current-change="handleCurrentChange" />
            </div>
        </div>
        <footer class="botton-ann">
            <el-button @click="goBack">返回</el-button>
            <!-- <el-button type="primary" plain @click="handleSubmit2" :loading="loading">提交</el-button> -->
        </footer>
    </div>
    </div>
    <script src="../../../utils/utils.js"></script>
    <script src="../../../config/config.js"></script>
    <script src="../../../utils/mixins.js"></script>
    <script src="../../../yl/vue.js"></script>
    <script src="../../../yl/index.js"></script>
    <script src="../../../yl/zh-cn.mjs"></script>
    <script src="../../../yl/index.iife.min.js"></script>
    <script src="../../../yl/jquery.min.js"></script>
    <script src="../../../utils/jquery.cookie.js"></script>
    <script src="../../../api/request.js"></script>
    <script src="js/index_taskPlan.js"></script>
</body>

</html>